/*
 * PlayerMethods.java
 *
 * Version 1.0
 *
 */

package palidino76.rs2.player.misc;

import palidino76.rs2.player.*;

public class PlayerMethods {

	Player p;

	
	/**
	 * Constructor
	 * @param p The Player class.
	 */
	public PlayerMethods(Player p) {
		this.p = p;
	}

	/**
	 * Set & get methods.
	 */
	public void setAttackPlayer(boolean attackingPlayer) {
		p.attackingPlayer = attackingPlayer;
	}

	public void setMagicPlayer(boolean magicOnPlayer) {
		p.magicOnPlayer = magicOnPlayer;
	}

	public void setCombatDelay(int combatDelay) {
		p.combatDelay = combatDelay;
	}

	public void setDamageDelay(int damageDelay) {
		p.damageDelay = damageDelay;
	}

	public void isGonnaDamage(boolean gonnaDamage) {
		p.gonnaDamage = gonnaDamage;
	}

	public void specialAttack(boolean b1) {
		p.expectSpec = b1;
	}

	public void setSpecDelay(int specDelay) {
		p.specDelay = specDelay;
	}

	public void setSpecDelay2(int specDelay2) {
		p.specDelay2 = specDelay2;
	}

	public void setSpecDelay3(int specDelay3) {
		p.specDelay3 = specDelay3;
	}

	public void setRangeDamageDelay(int rangeDmgDelay) {
		p.rangeDmgDelay = rangeDmgDelay;
	}

	public void setRangeDamage(boolean rangeDamage) {
		p.rangeDamage = rangeDamage;
	}

	public void setAgilityDelay(int agilityDelay) {
		p.agilityDelay = agilityDelay;
	}

	public void setAgilityPerforming(boolean agilityPerforming) {
		p.agilityPerforming = agilityPerforming;
	}

	public void setAgilityType(int agilityType) {
		p.agilityType = agilityType;
	}

}